package com.brozha.ans_sys.service;

import com.brozha.ans_sys.entity.News;
import com.baomidou.mybatisplus.extension.service.IService;
import com.brozha.ans_sys.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author brozha
 * @since 2021-04-04
 */
public interface NewsService extends IService<News> {

    public List<News> crawlerTask1();


    public Result queryByRand();

    public Result queryByPage(int curPage,int size);
}
